//
//  MCModel.h
//  Ordering system
//
//  Created by 1 on 2017/6/16.
//  Copyright © 2017年 com.Ordering.Ordering. All rights reserved.
//



#import <Foundation/Foundation.h>


#if BaseClass == 0
#import "GBNetWorking.h"
#import "NSString+font.h"
#import "NSString+Tools.h"
#import "NSString+URL.h"
#import "NSArray+SafeAccess.h"
#import "MCDateFormatter.h"
#endif



@interface BaseModel : NSObject
//*<用户基本数据>*//
@property (nonatomic, strong) NSString * nickname;// = "18576705970_6d3fCn",
@property (nonatomic, strong) NSString * phone;
@property (nonatomic, strong) NSString * token;
@property (nonatomic, strong) NSString * user_name;
@property (nonatomic, strong) NSNumber * user_id;
@property (nonatomic, strong) NSNumber * shop_id;
@property (nonatomic, strong) NSNumber * create_time;
@property (nonatomic, strong) NSString * timer_ShiJian;
@property (nonatomic, strong) NSString * avatar_img;
//*<TableView数据更长>*//
@property (nonatomic, assign) BOOL      updateHieght;
@property (nonatomic, assign) CGFloat   cellHeight;
@property (nonatomic, assign) NSIndexPath *indexPath;


//*<网络请求对接接口>*//
+(void)onPOSTNoToKen:(NSString*)URL Param:(id)Param Title:(NSString *)title successBlock:(successBlock)successBlcok
          falieBlock:(failedBlock)failedBlcok
          errorBlock:(errorBlock)errorBlcok;

+(void)onPOSTURL:(NSString*)URL Param:(id)Param  Title:(NSString *)title successBlock:(successBlock)successBlcok
      falieBlock:(failedBlock)failedBlcok
      errorBlock:(errorBlock)errorBlcok;


+(void)onPOSTURL:(NSString*)URL Param:(id)Param  Title:(NSString *)title AClass:(Class)aclass successBlock:(successBlock)successBlcok
      falieBlock:(failedBlock)failedBlcok
      errorBlock:(errorBlock)errorBlcok;

+(void)onPOSTListParam:(id)Param  Title:(NSString *)title successBlock:(successBlock)successBlcok
            falieBlock:(failedBlock)failedBlcok
            errorBlock:(errorBlock)errorBlcok;

+(void)onPOSTListURL:(NSString *)url Param:(id)Param  Title:(NSString *)title successBlock:(successBlock)successBlcok
            falieBlock:(failedBlock)failedBlcok
            errorBlock:(errorBlock)errorBlcok;
@end
